package leet.ku._237;

class ListNode {
	int val;
	ListNode next;
	ListNode(int x) { val = x; }
}

public class Solution {
	
    public void deleteNode(ListNode node) {
    	ListNode next = node.next;
    	node.next = next.next;
    	node.val = next.val;
        
    }
    
}